<div class="list">
    <h2 class="cufon">Liste des pages statiques</h2>

    <table class="tablesorter contentList">
        <thead>
        <tr>
            {foreach from=$structName key=structure_key item=structure}
                <th>{$structure}</th>
            {/foreach}
            <th>Date</th>
            <th>Options</th>
        </tr>
        </thead>
        <tbody>
        {foreach from=$data key=contenu_key item=contenu}
            <tr>
                {foreach from=$contenu|@reverse_array key=contenu_data_key item=contenu_data}
                    {foreach from=$structIndex item=index}
                        {if $contenu_data_key == $index}
                            <td>{$contenu_data|truncate:100}</td>
                        {/if}
                    {/foreach}
                {/foreach}
                <td>{$contenu.date_create|date_format:"%Y, %m %d"}</td>
                <td>
                    <a href="edit/{$contenu._id}" class="edit">Modifier</a>
                     -
                    <a href="delete/{$contenu._id}" class="delete">Supprimer</a>
                </td>
            </tr>
        {/foreach}
        </tbody>
    </table>

    <a href="./nouveau/" class="floatR">Nouveau</a>
</div>